[INFO] cloning repository https://github.com/syuni/rust-by-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/syuni/rust-by-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyuni%2Frust-by-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyuni%2Frust-by-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b3f4cf9a5219e47165d823446a761a963ce48beb
[INFO] building syuni/rust-by-example against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyuni%2Frust-by-example" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/syuni/rust-by-example on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/syuni/rust-by-example
[INFO] finished tweaking git repo https://github.com/syuni/rust-by-example
[INFO] tweaked toml for git repo https://github.com/syuni/rust-by-example written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/syuni/rust-by-example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-1/source/src/8_2_4.rs
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 38c6187a3777abba0bd2d51a93a0fd31908feb7ad944b243c23f20bd679b8f14
[INFO] running `Command { std: "docker" "start" "-a" "38c6187a3777abba0bd2d51a93a0fd31908feb7ad944b243c23f20bd679b8f14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "38c6187a3777abba0bd2d51a93a0fd31908feb7ad944b243c23f20bd679b8f14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38c6187a3777abba0bd2d51a93a0fd31908feb7ad944b243c23f20bd679b8f14", kill_on_drop: false }`
[INFO] [stdout] 38c6187a3777abba0bd2d51a93a0fd31908feb7ad944b243c23f20bd679b8f14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 52d1bbb5d31425aa315632ce6b1d683cb6a55ccda3dddcbfeb2400778132a53a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "52d1bbb5d31425aa315632ce6b1d683cb6a55ccda3dddcbfeb2400778132a53a", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/8_2_4.rs
[INFO] [stderr]    Compiling rust-by-example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot pass `self` by raw pointer
[INFO] [stdout]   --> src/16_10.rs:39:15
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn cause(*self) -> Option<&error::Error> {
[INFO] [stdout]    |               ^^^^ cannot pass `self` by raw pointer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/16_10.rs:6:45
[INFO] [stdout]   |
[INFO] [stdout] 6 | type Result<T> = std::result::Result<T, Box<error::Error>>;
[INFO] [stdout]   |                                             ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/16_10.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn cause(*self) -> Option<&error::Error> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/16_10.rs:39:31
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn cause(*self) -> Option<&error::Error> {
[INFO] [stdout]    |                               ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn cause(*self) -> Option<&'static error::Error> {
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected type, found `}`
[INFO] [stdout]   --> src/14_4_6.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |         println!("{} is the first", choose_first(&first, &second)):
[INFO] [stdout]    |                                                                   - help: try using a semicolon: `;`
[INFO] [stdout] 21 |     };
[INFO] [stdout]    |     ^ expected type
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `<expr>: <type>`
[INFO] [stdout]    = note: see issue #23416 <https://github.com/rust-lang/rust/issues/23416> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-by-example`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,`
[INFO] [stdout]  --> src/13_7_1.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn contains(&self, &A, &B) -> bool; // `A`と`B`の両方を明示的に要求する
[INFO] [stdout]   |                          ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]   |
[INFO] [stdout]   = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn contains(&self, A: &TypeName, &B) -> bool; // `A`と`B`の両方を明示的に要求する
[INFO] [stdout]   |                        ^^^^^^^^^^^^
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn contains(&self, _: &A, &B) -> bool; // `A`と`B`の両方を明示的に要求する
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)`
[INFO] [stdout]  --> src/13_7_1.rs:6:30
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn contains(&self, &A, &B) -> bool; // `A`と`B`の両方を明示的に要求する
[INFO] [stdout]   |                              ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]   |
[INFO] [stdout]   = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn contains(&self, &A, B: &TypeName) -> bool; // `A`と`B`の両方を明示的に要求する
[INFO] [stdout]   |                            ^^^^^^^^^^^^
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn contains(&self, &A, _: &B) -> bool; // `A`と`B`の両方を明示的に要求する
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/18_4_2.rs:20:63
[INFO] [stdout]    |
[INFO] [stdout] 20 |         Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)),
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/18_4_2.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             Error::description(&why)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/18_4_1.rs:14:61
[INFO] [stdout]    |
[INFO] [stdout] 14 |         Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)),
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/18_4_1.rs:21:61
[INFO] [stdout]    |
[INFO] [stdout] 21 |         Err(why) => panic!("couldn't read {}: {}", display, Error::description(&why)),
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout]   --> src/8_2_6_1.rs:16:40
[INFO] [stdout]    |
[INFO] [stdout] 16 |     println!("2 in array2: {}", array2.into_iter().any(|&x| x == 2));
[INFO] [stdout]    |                                        ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(array_into_iter)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout]   --> src/8_2_6_2.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 |         array2.into_iter().find(|&&x| x == 2)
[INFO] [stdout]    |                ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(array_into_iter)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]   --> src/6.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         2 * x;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "52d1bbb5d31425aa315632ce6b1d683cb6a55ccda3dddcbfeb2400778132a53a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52d1bbb5d31425aa315632ce6b1d683cb6a55ccda3dddcbfeb2400778132a53a", kill_on_drop: false }`
[INFO] [stdout] 52d1bbb5d31425aa315632ce6b1d683cb6a55ccda3dddcbfeb2400778132a53a
